package com.gmail.hongyz.myfuse.service.impl;

import java.io.Serializable;

import com.gmail.hongyz.myfuse.dao.BaseDao;
import com.gmail.hongyz.myfuse.service.BaseService;

public class BaseServiceImpl implements BaseService {

	private BaseDao baseDao;
	
	public void setBaseDao(BaseDao baseDao) {
		this.baseDao = baseDao;
	}
	public void delete(Object o) {
		baseDao.delete(o);
	}

	public Object load(Class clazz, Serializable id) {
		return baseDao.load(clazz, id);
	}

	public void save(Object o) {
		baseDao.save(o);
	}

}
